package com.ss.android.newmedia.message.a;

import android.view.MotionEvent;
import android.view.View;
import android.view.View;

final class d implements View.OnTouchListener {
    private final a a;

    d(a arg1) {
        this.a = arg1;

    }

    public final boolean onTouch(View arg2, MotionEvent arg3) {
        switch(arg3.getAction() & 255) {
            case 1: 
            case 3: {
                this.a.finish();
                break;
            }
        }

        return true;
    }
}

